package org.neptune.web.controller;

import java.util.Map;

import org.neptune.api.request.BaseRequest;
import org.neptune.common.response.LayuiTableResponse;
import org.neptune.service.service.EsLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lwl
 * @date 2019/12/18 17:20
 */
@RestController
@RequestMapping("/seckillLog")
public class SeckillLogController {

	@Autowired
	private EsLogService esLogService;

	@RequestMapping("/querySeckillLogList")
	public LayuiTableResponse<Map<String, Object>> querySeckillLogs(BaseRequest baseRequest) {
		return esLogService.queryByPage(baseRequest);
	}

}
